package com.dwin.h5.app.utils.http;

import com.dwin.h5.app.models.WeatherModel;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface WeatherService {

    // 获取验证码
    @GET("/geocoder")
    Call<WeatherModel> getLocInfo(@Query("output") String output, @Query("location") String location, @Query("ak") String ak);
//    http://api.map.baidu.com/geocoder?output=json&location=28.198351,112.897896&ak=AB1FYnKMHRR4FWnTjFI3Rla5ZEgnitlQ

}
